
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __FC_CTRL_CRC_H
#define __FC_CTRL_CRC_H

#ifdef __cplusplus
extern "C"
{
#endif

/* Includes ------------------------------------------------------------------*/
#include "MCU.h"

  /** @addtogroup STM32F4xx_StdPeriph_Driver
   * @{
   */

  /** @addtogroup CRC
   * @{
   */

  /* Exported types ------------------------------------------------------------*/
  /* Exported constants --------------------------------------------------------*/

  /** @defgroup CRC_Exported_Constants
   * @{
   */

  /**
   * @}
   */

  /* Exported macro ------------------------------------------------------------*/
  /* Exported functions --------------------------------------------------------*/

  void CRC_ResetDR(void);
  uint32_t CRC_CalcCRC(uint32_t Data);
  uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength);
  uint32_t CRC_GetCRC(void);
  void CRC_SetIDRegister(uint8_t IDValue);
  uint8_t CRC_GetIDRegister(void);

#ifdef __cplusplus
}
#endif

#endif /* __FC_CTRL_CRC_H */

/**
 * @}
 */

/**
 * @}
 */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
